package com.hxz.service;

import org.springframework.beans.factory.annotation.Autowired;

public class UserServiceImpl implements UserService{

    private UserServiceImpl(){
        System.out.println("UserServiceImpl构造方法执行!");
    }

    @Autowired
    private OrderService orderService;

    public void add() {
        System.out.println("增加");
        orderService.add();
    }

    public void delete() {
        System.out.println("删除");
    }

    public void update() {
        System.out.println("修改");
    }

    public void select() {
        System.out.println("查询");
    }
}
